package com.gzstv.dlnasdk.upnp;

import java.net.URL;

public class Service {
    private String serviceType;
    private String serviceId;
    private URL controlURL;
    private URL eventSubURL;

    public Service(String serviceType, String serviceId, URL controlURL, URL eventSubURL) {
        this.serviceType = serviceType;
        this.serviceId = serviceId;
        this.controlURL = controlURL;
        this.eventSubURL = eventSubURL;
    }

    public String getServiceType() {
        return serviceType;
    }

    public String getServiceId() {
        return serviceId;
    }

    public URL getControlURL() {
        return controlURL;
    }

    public URL getEventSubURL() {
        return eventSubURL;
    }

    @Override
    public String toString() {
        return "Service{" +
                "serviceType='" + serviceType + '\'' +
                ", serviceId='" + serviceId + '\'' +
                '}';
    }
}
